package com.zjl.legendary.config;

import com.alibaba.druid.pool.DruidDataSource;
import org.apache.ibatis.datasource.pooled.PooledDataSourceFactory;

/**
 * @author zhoujingluo
 * @date 2021/6/4 14:24
 */
public class DruidDataSourceFactory extends PooledDataSourceFactory {
    public DruidDataSourceFactory() {
        //替换数据
        this.dataSource = new DruidDataSource();
    }
}
